.gateruler-basequery-popup {
  padding: 212px 22px 0;

  .search-container {
    font-size: 28px;

    .title {
      margin-bottom: 30px;
    }

    .filter-box {
      margin-bottom: 20px;

      >span {
        font-size: 30px;
        height: 30px;
        line-height: 30px;
        margin-bottom: 14px;
      }
    }

    .series-attrs-box {
      padding: 0 28px;
      height: 60px;
      background: #525252;
      border-radius: 30px;
      color: #fff;
      line-height: 62px;

      &.active {
        background: #000;
      }

      >span {
        margin-right: 30px;
      }
    }

    .box-list {
      .box-item {
        height: 50px;
        line-height: 46px;
        border: 2px solid #1f1f1f;
        margin-right: 8px;
        margin-bottom: 10px;

        /* padding: 0 40px;
        min-width: 120px; */
        width: 120px;
        text-align: center;
        transition: background 0.2s;
        border-radius: 10px;

        &.active {
          background: #000;
          color: #fff;
        }
      }
    }

    .legion-list {
      .legion-item {
        width: 100px;
        height: auto;
        margin-right: 6px;

        &:last-of-type {
          margin-right: 0;
        }

        .legion-image {
          width: inherit;
          height: 90px;

          > img {
            width: inherit;
            opacity: 0.4;
            transition: opacity 0.2s;
          }
        }

        &.active {

          .legion-image {

            > img {
              opacity: 1;
            }
          }
        }
      }
    }

    .level-list {

      .box-item {
        width: 74px;
        height: 74px;
        border-radius: 50%;
        line-height: 70px;
        margin-right: 13px;
      }
    }
  }
}
